The software of system realized by programming mingled C language and assembly language is made up of the main program, control module subprogram, CAN ( Controller Area Network) communication subprogram, interrupt service routine subprogram, etc. 软件设计主要包括运用C语言和汇编语言混合编程的主程序、控制模块子程序、控制器区(局)域网CAN(ControllerAreaNetwork)总线通信子程序、中断服务子程序等程序软件的设计。
The software is programmed in assembly language, including initialization, key-press and interrupt program such as corresponding subprogram, external and serials. 软件采用汇编语言编写,包括初始化、按键及相应子程序、外部和串口等中断程序。
In actual programming, it may transfer assembly language subprogram in the main programs of C language, and transfer C language subprogram in the main programs of assembly language, and it may insert assembly language sentence in C language program. 在实际的程序设计中,C语言主程序可以调用汇编语言子程序,汇编语言主程序可以调用C语言子程序,也可以在C语言程序中嵌入汇编语言语句。